﻿package com.firewolf.state.states;

import com.firewolf.state.context.GumballMachine;
/**
 * 糖果售罄状态
 * @author Administrator
 *
 */
public class SoldOutState implements IState {

	private GumballMachine gumballMachine;
	
	public SoldOutState(GumballMachine gumballMachine) {
		this.gumballMachine = gumballMachine;
	}
	
	@Override
	public void insert25tMoney() {
		System.out.println("对不起，已经没有糖果了！");
	}

	@Override
	public void ejectMoney() {
		System.out.println("对不起，不能退钱！");
	}

	@Override
	public void turnCrank() {
		System.out.println("对不起，没糖果了！");
	}

	@Override
	public void dispense() {
		System.out.println("对不起，没糖果了！");
	}

}
